package tests;

import common.Utils;
import org.openqa.selenium.By;

import java.io.IOException;


public class DetailPage extends Utils {

    public static String url = "";

    public DetailPage() {
        super(url);
    }

    public void DetailPageByLogin() throws InterruptedException, IOException {
//        Thread.sleep(2000);
//        getScreenShot(getClass().getName());
        Thread.sleep(3000);
        driver.findElement(By.cssSelector("body > div.container > div.right > div > div.operating > button:nth-child(2)"));
        driver.findElement(By.cssSelector("body > div.container > div.right > div > div.operating > button:nth-child(1)")).click();

    }
}
